package com.kingyea.mobilepolice.apimanage.serviceinfo.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description ServiceInfo 实体类
 * 接口表
 * @date Created in 2018-03-02 16:37:13
 */
public class ServiceInfo implements Serializable {

    /**
     * id
     */
    private Integer id;
    /**
     * 接口标识
     */
    private String serialNo;
    /**
     * 接口名称
     */
    private String name;
    /**
     * 接口地址
     */
    private String path;
    /**
     * 对外发布地址
     */
    private String publicPath;
    /**
     * 服务器地址,仅仅是域名或者 IP
     */
    private String serviceAddress;
    /**
     * 端口
     */
    private String port;
    /**
     * 接口协议：1.标准协议、2自定义协议
     */
    private Integer protocol;
    /**
     * http请求方法：非saop接口：GET、POST、DELETE、PUT、UPDATE
     */
    private String httpMethod;
    /**
     * 调用方法：saop接口才有该字段：.eg:getUser、getOrder
     */
    private String invokMethod;
    /**
     * 接口类型：1.http+json、 2.soap
     */
    private Integer apiType;
    /**
     * 网络类型(服务接口所在区域)：1.移动信息网 2.公安内网
     */
    private Integer apiLocation;
    /**
     * 允许请求范围的文字描述
     */
    private String scope;
    /**
     * 返回类型
     */
    private String returnType;
    /**
     * 返回结果示例
     */
    private String returnSample;
    /**
     * 服务类别：1.数据查询、2.数据统计
     */
    private Integer serviceType;
    /**
     * 业务类别：1.请求服务
     */
    private Integer businessType;
    /**
     * 技术说明
     */
    private String description;
    /**
     * 该服务对应的区域机构
     */
    private String serviceArea;
    /**
     * 对应服务的警种类型（详看1.3.1.3分类管理）
     */
    private String policeType;
    /**
     * 提供者ID
     */
    private Integer providerId;
    /**
     * 管理单位名称
     */
    private String organization;
    /**
     * 状态：1:注册未审核，2:变更未审核，3:审核通过，4:审核不通过
     */
    private Integer status;
    /**
     * 审核时间
     */
    private Date auditTime;
    /**
     * 是否上线：0.否 1.是
     */
    private Integer isOnline;
    /**
     * 是否删除：0.否 1.是
     */
    private Integer isDel;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建者标识
     */
    private String createById;
    /**
     * 最后修改时间
     */
    private Date modifiedTime;
    /**
     * 最后修改者ID
     */
    private String modifiedById;

    /**
     * 版本号
     */
    private String version;

    /**
     * 创建者名字
     */
    private String createByName;

    /**
     * 服务API接口类型
     */
    private String serviceApiInterfaceType;

    /**
     * 服务技术描述内容
     */
    private String serviceDescription;

    private String hostSerialNo;

    private String devId;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSerialNo() {
        return this.serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getPublicPath() {
        return this.publicPath;
    }

    public void setPublicPath(String publicPath) {
        this.publicPath = publicPath;
    }

    public String getServiceAddress() {
        return this.serviceAddress;
    }

    public void setServiceAddress(String serviceAddress) {
        this.serviceAddress = serviceAddress;
    }

    public String getPort() {
        return this.port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Integer getProtocol() {
        return this.protocol;
    }

    public void setProtocol(Integer protocol) {
        this.protocol = protocol;
    }

    public String getHttpMethod() {
        return this.httpMethod;
    }

    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    public String getInvokMethod() {
        return this.invokMethod;
    }

    public void setInvokMethod(String invokMethod) {
        this.invokMethod = invokMethod;
    }

    public Integer getApiType() {
        return this.apiType;
    }

    public void setApiType(Integer apiType) {
        this.apiType = apiType;
    }

    public Integer getApiLocation() {
        return this.apiLocation;
    }

    public void setApiLocation(Integer apiLocation) {
        this.apiLocation = apiLocation;
    }

    public String getScope() {
        return this.scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getReturnType() {
        return this.returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getReturnSample() {
        return this.returnSample;
    }

    public void setReturnSample(String returnSample) {
        this.returnSample = returnSample;
    }

    public Integer getServiceType() {
        return this.serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public Integer getBusinessType() {
        return this.businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getServiceArea() {
        return this.serviceArea;
    }

    public void setServiceArea(String serviceArea) {
        this.serviceArea = serviceArea;
    }

    public String getPoliceType() {
        return this.policeType;
    }

    public void setPoliceType(String policeType) {
        this.policeType = policeType;
    }

    public Integer getProviderId() {
        return this.providerId;
    }

    public void setProviderId(Integer providerId) {
        this.providerId = providerId;
    }

    public String getOrganization() {
        return this.organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getAuditTime() {
        return this.auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public Integer getIsOnline() {
        return this.isOnline;
    }

    public void setIsOnline(Integer isOnline) {
        this.isOnline = isOnline;
    }

    public Integer getIsDel() {
        return this.isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateById() {
        return this.createById;
    }

    public void setCreateById(String createById) {
        this.createById = createById;
    }

    public Date getModifiedTime() {
        return this.modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public String getModifiedById() {
        return this.modifiedById;
    }

    public void setModifiedById(String modifiedById) {
        this.modifiedById = modifiedById;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }

    public String getServiceApiInterfaceType() {
        return serviceApiInterfaceType;
    }

    public void setServiceApiInterfaceType(String serviceApiInterfaceType) {
        this.serviceApiInterfaceType = serviceApiInterfaceType;
    }

    public String getServiceDescription() {
        return serviceDescription;
    }

    public void setServiceDescription(String serviceDescription) {
        this.serviceDescription = serviceDescription;
    }

    public String getHostSerialNo() {
        return hostSerialNo;
    }

    public void setHostSerialNo(String hostSerialNo) {
        this.hostSerialNo = hostSerialNo;
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }
}
